# Tanım: Cyrus saslauthd SASL kimlik doğrulama programı
# URL: http://cyrusimap.org/
# Paketçi: milisarge
# Gerekler: db
# Grup: güvenlik

isim=cyrus-sasl
surum=2.1.26
devir=1
kaynak=(ftp://ftp.cyrusimap.org/cyrus-sasl/$isim-$surum.tar.gz
	http://www.linuxfromscratch.org/patches/blfs/svn/cyrus-sasl-$surum-fixes-3.patch)

derle() {
	cd $isim-$surum
	patch -Np1 -i ../cyrus-sasl-$surum-fixes-3.patch
	autoreconf -fi
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--enable-auth-sasldb \
		--with-dbpath=/var/lib/sasl/sasldb2 \
		--with-saslauthd=/var/run/saslauthd
	make
	make DESTDIR=$PKG install
	install -v -m700 -d $PKG/var/lib/sasl $PKG/var/run/saslauthd
}
